import request from '../util/request'

//获取所有商品spu
// FontCommdityControllers
export function getCommSpu(){
    return request.get('/fontCommdity')
}

// [HttpGet,Route("spupicture")]
export function getCommSpupicture(){
    return request.get('/fontCommdity/spupicture')
}
//通过商品Id获取对应图片
// [HttpGet,Route("spupicturebyId/{id}")]
export function getCommSpupictbyId(id){
    return request.get(`/fontCommdity/spupicturebyId/${id}`)
}